Skip to content

feat(UI): rebuild the MR page&add Search component#1153

Merged
benjamin-747 merged 1 commit into
gitmono-dev:mainfrom
liuyangjuncong20202570:feat/rebuildMR
Jun 24, 2025
Merged

feat(UI): rebuild the MR page&add Search component#1153
benjamin-747 merged 1 commit into
gitmono-dev:mainfrom
liuyangjuncong20202570:feat/rebuildMR

Conversation

@liuyangjuncong20202570

Copy link
Copy Markdown
Contributor

重构MR list
增加Search相关组件
增加用户悬浮框

@vercel

vercel Bot commented Jun 24, 2025

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
mega ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 24, 2025 8:32am

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR overhauls the Merge Request page UI, introduces a new search component powered by Fuse.js, and restructures issue listing and filtering logic.

  • Rebuild MR list view using IndexPageContainer/IssueList and Jotai-based filtering
  • Add a reusable Search component with searchList and fuseOptions constants
  • Refactor issue index to use IssueSearch, MemberHovercard, and a filterAtom scoped to parts

Reviewed Changes

Copilot reviewed 12 out of 13 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
pages/[org]/mr/index.tsx Added blank line import; entry point for new MR layout
package.json Added fuse.js and fixed duplicate @lexical/selection
components/MrView/index.tsx Fully refactored MR list rendering and state management
components/Issues/utils/consts.ts Introduced searchList and fuseOptions for Search logic
components/Issues/IssueIndex.tsx Replaced inline search with IssueSearch & updated filter
Files not reviewed (1)
  • moon/pnpm-lock.yaml: Language not supported

},
{
type: 'item',
label: 'Exculd'

Copilot AI Jun 24, 2025

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo in label 'Exculd'. It should be 'Exclude' for clarity and correctness.

Suggested change
label: 'Exculd'
label: 'Exclude'

Copilot uses AI. Check for mistakes.
Comment thread moon/apps/web/components/Issues/IssueIndex.tsx
Comment thread moon/apps/web/components/MrView/index.tsx
@benjamin-747
benjamin-747 added this pull request to the merge queue Jun 24, 2025
Merged via the queue into gitmono-dev:main with commit 7854148 Jun 24, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants